<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE Safe #-}</span><span>
</span><span id="line-2"></span><span>
</span><span id="line-3"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-4"></span><span class="hs-comment">-- |</span><span>
</span><span id="line-5"></span><span class="hs-comment">-- Module      :  Text.ParserCombinators.Parsec.Error</span><span>
</span><span id="line-6"></span><span class="hs-comment">-- Copyright   :  (c) Paolo Martini 2007</span><span>
</span><span id="line-7"></span><span class="hs-comment">-- License     :  BSD-style (see the LICENSE file)</span><span>
</span><span id="line-8"></span><span class="hs-comment">--</span><span>
</span><span id="line-9"></span><span class="hs-comment">-- Maintainer  :  derek.a.elkins@gmail.com</span><span>
</span><span id="line-10"></span><span class="hs-comment">-- Stability   :  provisional</span><span>
</span><span id="line-11"></span><span class="hs-comment">-- Portability :  portable</span><span>
</span><span id="line-12"></span><span class="hs-comment">--</span><span>
</span><span id="line-13"></span><span class="hs-comment">-- Parsec compatibility module</span><span>
</span><span id="line-14"></span><span class="hs-comment">--</span><span>
</span><span id="line-15"></span><span class="hs-comment">-----------------------------------------------------------------------------</span><span>
</span><span id="line-16"></span><span>
</span><span id="line-17"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Text.ParserCombinators.Parsec.Error</span><span>
</span><span id="line-18"></span><span>    </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="Text.Parsec.Error.html#Message"><span class="hs-identifier">Message</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="Text.Parsec.Error.html#SysUnExpect"><span class="hs-identifier">SysUnExpect</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Text.Parsec.Error.html#UnExpect"><span class="hs-identifier">UnExpect</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Text.Parsec.Error.html#Expect"><span class="hs-identifier">Expect</span></a></span><span class="hs-special">,</span><span class="annot"><a href="Text.Parsec.Error.html#Message"><span class="hs-identifier">Message</span></a></span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-19"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#messageString"><span class="hs-identifier">messageString</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-20"></span><span>      </span><span class="annot"><a href="Text.ParserCombinators.Parsec.Error.html#messageCompare"><span class="hs-identifier">messageCompare</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-21"></span><span>      </span><span class="annot"><a href="Text.ParserCombinators.Parsec.Error.html#messageEq"><span class="hs-identifier">messageEq</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-22"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#ParseError"><span class="hs-identifier">ParseError</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-23"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#errorPos"><span class="hs-identifier">errorPos</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-24"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#errorMessages"><span class="hs-identifier">errorMessages</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-25"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#errorIsUnknown"><span class="hs-identifier">errorIsUnknown</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-26"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#showErrorMessages"><span class="hs-identifier">showErrorMessages</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-27"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#newErrorMessage"><span class="hs-identifier">newErrorMessage</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-28"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#newErrorUnknown"><span class="hs-identifier">newErrorUnknown</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-29"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#addErrorMessage"><span class="hs-identifier">addErrorMessage</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-30"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#setErrorPos"><span class="hs-identifier">setErrorPos</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-31"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#setErrorMessage"><span class="hs-identifier">setErrorMessage</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-32"></span><span>      </span><span class="annot"><a href="Text.Parsec.Error.html#mergeError"><span class="hs-identifier">mergeError</span></a></span><span>
</span><span id="line-33"></span><span>    </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-34"></span><span>
</span><span id="line-35"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Text.Parsec.Error.html"><span class="hs-identifier">Text.Parsec.Error</span></a></span><span>
</span><span id="line-36"></span><span>
</span><span id="line-37"></span><span>
</span><span id="line-38"></span><span class="annot"><a href="Text.ParserCombinators.Parsec.Error.html#messageCompare"><span class="hs-identifier hs-type">messageCompare</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Text.Parsec.Error.html#Message"><span class="hs-identifier hs-type">Message</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Text.Parsec.Error.html#Message"><span class="hs-identifier hs-type">Message</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Ordering</span></span><span>
</span><span id="line-39"></span><span id="messageCompare"><span class="annot"><span class="annottext">messageCompare :: Message -&gt; Message -&gt; Ordering
</span><a href="Text.ParserCombinators.Parsec.Error.html#messageCompare"><span class="hs-identifier hs-var hs-var">messageCompare</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Message -&gt; Message -&gt; Ordering
forall a. Ord a =&gt; a -&gt; a -&gt; Ordering
</span><span class="hs-identifier hs-var">compare</span></span><span>
</span><span id="line-40"></span><span>
</span><span id="line-41"></span><span class="annot"><a href="Text.ParserCombinators.Parsec.Error.html#messageEq"><span class="hs-identifier hs-type">messageEq</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Text.Parsec.Error.html#Message"><span class="hs-identifier hs-type">Message</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Text.Parsec.Error.html#Message"><span class="hs-identifier hs-type">Message</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span>
</span><span id="line-42"></span><span id="messageEq"><span class="annot"><span class="annottext">messageEq :: Message -&gt; Message -&gt; Bool
</span><a href="Text.ParserCombinators.Parsec.Error.html#messageEq"><span class="hs-identifier hs-var hs-var">messageEq</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">Message -&gt; Message -&gt; Bool
forall a. Eq a =&gt; a -&gt; a -&gt; Bool
</span><span class="hs-operator hs-var">(==)</span></span><span>
</span><span id="line-43"></span></pre></body></html>